Making an explore game.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Making an explore game.
I am trying to make a game where You are a character on a map and you walk around. 2D of course. How would I go about making the camera follow the player?
Re: Making an explore game.
You keep the player stationary, and move the map on the screen. that gives the illusion of a moving player.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Making an explore game.
What about all of the BG items. I want my player to be able to open doors, and buy stuff around the map. How would I accomplish that?
Last edited by dburdan on Sat Apr 09, 2011 8:49 pm, edited 1 time in total.
Re: Making an explore game.
You can probably use the intersect(object,object) code for that. If your character object intersects with the door object, it automatically opens, and if he intersects with an item, a "shop" card opens where he can buy items, or something along those lines?dburdan wrote:What about all of the BG items. I want my player to be able to open doors, and by stuff around the map. How would I accomplish that?
Re: Making an explore game.
Thank you both for the response. I may just have to create it in Corona as LiveCode doesn't offer to many features in this area.
Re: Making an explore game.
That's just silly
I've done movement on maps like that, and it seems the only problem you're having is a lack of understanding, and not even the most advanced tool of the world can offer you help with that

I've done movement on maps like that, and it seems the only problem you're having is a lack of understanding, and not even the most advanced tool of the world can offer you help with that

Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- VIP Livecode Opensource Backer
- Posts: 10044
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Making an explore game.
Inspiration - with source code:
http://forums.runrev.com/viewtopic.php? ... ator#p4253
http://forums.runrev.com/viewtopic.php? ... ator#p4253
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Making an explore game.
Without giving too many details, I want there to be a main character and other AI players that spawn each level. The AI players try to hit the main player and take away his health. Once the player kills all of the AI players a new round starts and more AI players are spawned. During the round, the player can go to a store and buy health, guns, ammo, etc. Most of this seems fairly easy to do other than the AI, movement and shooting.
I plan on having a point and money system (easy to do) and I want more AI players to spawn each level. Ex. 2, 4, 7, 10, 12, etc. My main issue is that most of this seems simpler to do in Corona (although I do not know LUA that well) even though I would prefer LiveCode's simplicity..
I plan on having a point and money system (easy to do) and I want more AI players to spawn each level. Ex. 2, 4, 7, 10, 12, etc. My main issue is that most of this seems simpler to do in Corona (although I do not know LUA that well) even though I would prefer LiveCode's simplicity..