Topic:   The iPhone Project   (Read 395236 times)


0 Members and 1 Guest are viewing this topic.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #270 on: December 29, 2009, 01:28:19 AM »
What is sleep?


EqwanoX


  • Administrator

  • GMG Extraordinaire

  • *****


  • Posts: 1180
Re: The iPhone Project
« Reply #271 on: December 29, 2009, 09:33:13 AM »
Quote
Oh...  not even the flash/jing videos?
Right click, download this and try to open it once downloaded:
Latest Sneak Peak Video

-Gandolf
wow, that looks real cool, sinse its for the iphone are you gonna sell it for a dollar like an app?

someone should start designing level maps
« Last Edit: December 29, 2009, 09:44:34 AM by EqwanoX »

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #272 on: December 29, 2009, 10:26:52 AM »
We're still working out whether we're going to sell it or not. We need to finalize the story and stuff before levels get designed.
« Last Edit: December 29, 2009, 10:27:12 AM by WarHampster »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #273 on: December 29, 2009, 10:52:44 AM »
Yeah. I'd suggest start filling and taking votes on people's ideas in the other threads.  Meanwhile I can start working on the repository stuff WH sent me. That 5 hour trip zoomed by, closed my eyes and woke up 30 min from home.


-Gandolf

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #274 on: December 29, 2009, 02:33:26 PM »
Alright, I believe I followed everything for the repository correctly. Right now all the 103 files of the source code is being committed. Hope it works.
EDIT: Woohoo! All there, it worked.


-Gandolf
« Last Edit: December 29, 2009, 02:34:47 PM by Gandolf »

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #275 on: December 29, 2009, 05:21:00 PM »
Everything works on my end (although I'm still not set up to actually compile or run the code). I'll add people to repository as they contribute.

Gan: I looked through the code and am a bit confused on how the map loading works... where is the tile map defined?
« Last Edit: December 29, 2009, 05:35:30 PM by WarHampster »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #276 on: December 29, 2009, 05:55:45 PM »
Magic.
Kidding, I actually have the maps loaded as pngs. For a "simple" rpg I took a similar route Silver had took with QOTM. Instead of separating the maps into numerous tiles I decided just to have them saved as full maps. For core graphics, drawing separate tiles every 1/60th of a second for a full map can get quite cpu extensive. This also allows you guys to visually build full maps in your favorite paint program instead of making a text file defining which tiles go where.

EDIT: If you were talking about actual tile attributes, look in the LoadMaps method.


-Gandolf
« Last Edit: December 29, 2009, 05:56:54 PM by Gandolf »

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #277 on: December 29, 2009, 06:30:54 PM »
That is really confusing... any chance of just having a multi-dimensional array of 1s and 0s? That would make NPC AI and ranged combat a lot easier to implement and maintain.

You could still have the maps as pictures, just the collision and positions of stuff would be on the array.
« Last Edit: December 29, 2009, 06:31:54 PM by WarHampster »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #278 on: December 29, 2009, 06:36:54 PM »
I do have a multi-dimensional array, though instead of ints it is an array of the object "Tile". Within the tile there are attributes like blocked, npcon, item, ect...
It allows for so many more features being coded in a more object oriented way than procedural. It's also much more easier to use if understood.


-Gandolf

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #279 on: December 29, 2009, 06:40:26 PM »
meh. I'll trust that you know what you're doing, but it seems like this would make making maps really painful.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #280 on: December 29, 2009, 06:50:48 PM »
Ah you have no idea... Very, very painful. Takes almost 20 sec to add another map...
Ah only messing with you, it's actually even simpler than the v6 engine map making. All the tiles are created as default open tiles which I just need to mark as blocks and such if there's a block on the tile. Not bad at all. Just need to understand how it works.


-Gandolf

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #281 on: December 31, 2009, 11:29:05 AM »
Here are the item sprites Silver sent:


This set is extremely useful as now we only have to build a few more sprites.


-Gandolf

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #282 on: January 04, 2010, 07:19:20 PM »
Just thought you guys should know:
Tomorrow is the start of the next semester of school for me. "Why should this be posted on the Gmg and how is it relevant to the iPhone Rpg?" Well, every other day of school I have independent programming class for an hour and a half. I plan to fill that with iPhone programming. The Rpg's progress will be less sporadic, routinely scheduled, and a grade. Each day I'll be graded on what I've done. If I plan on keeping my current gpa, the show must go on. (This will also give me some extra room as this will be official school work and I can work on other things after school)


-Gandolf

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #283 on: January 04, 2010, 08:59:48 PM »
Quote
I have independent programming class for an hour and a half.

I wish I was you  :o

Put all your progress on the repository, I'll add new tiles as I make them.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #284 on: January 04, 2010, 09:33:09 PM »
Will do.


-Gandolf