simplZelda RPG battle test

If you created something quickly in DSGM 'just for fun', post it here. Please post the .DSGM project too.

simplZelda RPG battle test

Postby Buck_7 » July 2nd, 2012, 11:07 pm

A simple zelda RPG styled battle test.
User avatar
Buck_7
 
Posts: 1460
Joined: February 19th, 2011, 1:44 am

Re: simplZelda RPG battle test

Postby frash23 » July 24th, 2012, 3:52 pm

How did you/what code did you use to make the player follow the stylus (after the battle) without 'teleporting'?
When i do it, it teleports to the stylus (i know why, and i think its logic too, my coding skills are bare bottom >.<)
frash23
 
Posts: 20
Joined: July 22nd, 2012, 3:17 pm

Re: simplZelda RPG battle test

Postby Nobody » July 24th, 2012, 4:55 pm

it's simple code. If the stylus position is to the right of the sprite, move right. If it is bellow the object, move down. Of course you'd have to add on the camera values to the stylus position since it only returns values of one screen size so you could compare them correctly.
Feel free to ask me for help. I'm on the forum a lot.

Recent Projects:
Retro Ducks: viewtopic.php?f=13&t=3533 (latest)
The Living Dead 2: viewtopic.php?f=13&t=3483
Crafters DS (Minecraft 2D Clone!) viewtopic.php?f=13&t=3082
User avatar
Nobody
 
Posts: 2323
Joined: February 14th, 2011, 12:08 am
Location: United States of America


Return to Just for Fun

Who is online

Users browsing this forum: No registered users and 1 guest