Topic:   The iPhone Project   (Read 395104 times)


0 Members and 2 Guests are viewing this topic.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: The iPhone Project
« Reply #120 on: October 22, 2009, 08:30:55 PM »
Here's a simple enough interface concept:





The toggle button toggles the info displayed from Stats to Inventory (as well as whatever else you'd need).

EDIT:

Whoops! Where are my manners... here's the .psd: http://www.mediafire.com/?yy32kktdu0j
« Last Edit: October 22, 2009, 08:38:58 PM by Silverwind »
I survived the spammage of 2007

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #121 on: October 22, 2009, 08:40:42 PM »
That looks great :)

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #122 on: October 22, 2009, 08:45:22 PM »
 :o I just choked on my own spit...
That's gorgeous Silver... even if it's "simple"; it's also unique, with a color scheme that compliments the map with a very nice looking compass looking movement pad.


-Gandolf
P.S. Toggle button = Genius. All I would of thought up was a menu button to pop up a mini menu with your inventory.
« Last Edit: October 22, 2009, 08:50:23 PM by Gandolf »

Gnome


  • GMG Extraordinaire

  • ***


  • Posts: 1073
Re: The iPhone Project
« Reply #123 on: October 22, 2009, 09:10:17 PM »
lol well here was my attempt  :P

Not show of art, just ideas:
This Cannot be, NOOOOOOOO!!!!

-Gnomes Cry when the McRib was discontinued again.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: The iPhone Project
« Reply #124 on: October 23, 2009, 06:19:04 AM »
Hey, I like the idea of using a sprite to show HP condition. Nice. :)
I survived the spammage of 2007

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #125 on: October 23, 2009, 08:26:04 AM »
Just figured out how to use NSMutable Array. :D

[you can ignore this paragraph, a bit off topic]Woke up at 5:30 today despite the fact that I had left the light in my room on all night, constantly woke with a start every two hours(one of the times when I had just happened to see thousands of little spider/scorpion things crawling up my blanket) and got up to make fruit loop rice crispy treats. Which I plan on selling at a bake sale for the debate club later today.

Making those treats really made me coding hungry, so I went over to man's best friend, Google. After tons of searching, failed trials and such I finally learned what I had so desperately scoured the net for:
(1) I can now draw text directly to the screen.
(2) I have figured out how to successfully create an NSMutableArray. Which it turns out that if you want to stop your program from crashing due to lost variables, you also have to retain the NSMutableArray and release at the end of your program. That means I have also learned other skills:
(3) Memory management and...
(4) Pointers!

What's neat with NSMutableArray is that I can use it everywhere, add objects at will, destroy objects, replace objects, sort it, and get any object I want to use at any given moment! :) I can now build map loading code.

Here is my test of NSMutableArray:



-Gandolf
P.S. I have no classes today. More free time. 8)
« Last Edit: October 23, 2009, 08:27:53 AM by Gandolf »

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: The iPhone Project
« Reply #126 on: October 23, 2009, 09:32:20 AM »
looks like progress is being made.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: The iPhone Project
« Reply #127 on: October 23, 2009, 04:52:07 PM »
Quote
Woke up at 5:30 today despite the fact that I had left the light in my room on all night, constantly woke with a start every two hours(one of the times when I had just happened to see thousands of little spider/scorpion things crawling up my blanket) and got up to make fruit loop rice crispy treats. Which I plan on selling at a bake sale for the debate club later today.

I have three questions:
  • Do you mean that you woke because you left the light on?
  • Spider scorpion things? O.o
  • Your debate club has a bake sale? Awesome!
I survived the spammage of 2007

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #128 on: October 23, 2009, 05:02:15 PM »
Quote
Do you mean that you woke because you left the light on?
Partially. I fell asleep with my clothes on, the light on, and a simple blanket on top of me. The blanket made my feet cold and the light kept me from getting too deep into sleep.
Quote
Spider scorpion things? O.o
Yeah, I had just woke from cold feet and I could of sworn I saw spider/scorpian creatures crawling up my blanket. They were really tiny, size of spiders, but there were thousands of them. I shortly got rid of them by shaking my head.
Quote
Your debate club has a bake sale? Awesome!
Yeah, made rice crispy treats with the rice crispies being substituted by fruit loops.
Though it was cold and kinda windy at the bake sale, didn't go so good. At least I got to keep my pan full of dessert. :)

At the moment I am now trying to learn how to create classes and make objects of those classes. I can feel a headache coming on so I might take a break soon...


-Gandolf
« Last Edit: October 24, 2009, 07:32:41 AM by Gandolf »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #129 on: October 24, 2009, 01:49:36 PM »
  • Navigational Tile System: Complete ;)
http://web.mac.com/avisaria/iPhone-SimpleRPG-Nav-Vid.swf
-Larger Video Link-

>Latest iPhone Simple RPG Source<


-Gandolf
Edit:
Quote
- Add Gnome's + Silver's interfaces in.
- Finish Nav system.
- Make a few maps to explore.
- Make an NPC.
- Add a talk feature.
- Make a shop menu.
- Make a smart NPC.
- Make the ability to battle. (Any ideas of how the battle engine should be set up from you guys?)
- Add music/sound system.
- Inventory system.
- Able to pick up/use/equip/destroy items.
- Add a level system.
P.S. Hey Gnome, just put your new interface with the more readable text in. I forgot about it before.
« Last Edit: October 24, 2009, 04:26:10 PM by Gandolf »

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #130 on: October 24, 2009, 04:46:45 PM »
Verrry nice... how do maps currently work?

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #131 on: October 24, 2009, 05:06:16 PM »
Map 1.png

Map 1.txt
Code: [Select]
MAP:1
0:0,B=T
0:1,B=T
0:2,B=T
0:3,B=T
0:5,B=T
0:6,B=T

1:0,B=T
1:1,B=T
1:2,B=T
1:5,B=T

2:0,B=T
2:1,B=T
2:2,B=T

3:0,B=T
3:1,B=T
3:2,B=T
3:3,B=T
3:6,B=T

4:0,B=T
4:1,B=T
4:6,B=T

5:0,B=T
5:4,B=T
5:6,B=T

6:0,B=T
6:1,B=T
6:6,B=T

7:0,B=T
7:2,B=T
7:3,B=T
7:4,B=T
7:5,B=T
7:6,B=T
As you can notice, it starts out with MAP:(Map#) at the top, then for every tile you have (Xtile):(Ytile) before putting in attributes. This is very user friendly. You can skip tiles and it'll just place that tile with a B=F. You may have guessed this already, but B is block, T is true and F is false. I've only used blocks in this map as I have not made NPCs, special attributes, or more maps to teleport to.
Another key feature, you can put attributes on the tiles in any order as long as you have the (Xtile):(yTile) before them. You separate each tile with a new line, and remember not to put any commas or extra space in when you don't need them. It could cause something screwy to happen as this is the first beta system. I will put safe guards in place if I run into any problems of that sort.


-Gandolf

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: The iPhone Project
« Reply #132 on: October 24, 2009, 05:20:01 PM »
That seems a bit painful... why not use a matrix?

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The iPhone Project
« Reply #133 on: October 24, 2009, 05:30:53 PM »
It does seem painful, and would also seem to be pure idiocy not to use a matrix for mapping blocks. Though, you have to keep in mind...
Quote
B = Block
WWH = Warp when hit,when the player hits a tile with this attribute, the player will wap to a map/x/y.
WTR = Warp to right, meaning that when the player moves right from that tile, it warps to a certain map and X, Y.
WTD = Same as WTR but when the player moves down from the tile.
WTU = Same as WTR but when the player moves up from the tile.
WTL = Same as WTR but when the player moves left from the tile.
NPC = Placing of monsters/characters
SPC = Special attribute where you give the number of which special it is.
SND = Sound or music to play.
ITM = Placing an item Item#:X:Y.
STC = Status change, if we go with another idea I have.
...and many more when I think of them.
That will be even greater pain in a matrix. The current way just makes it readable so anyone on the forum can make maps without a special matrix reading skill. Also you can skip tiles which don't need any attributes, making your life easier.


-Gandolf

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: The iPhone Project
« Reply #134 on: October 24, 2009, 05:43:52 PM »
Hmmm... that map key doesn't look correct to me. As far as I can tell there's quite a number of errors, the most obvious being 1:7 (the purple roof house) not defined.
I survived the spammage of 2007