Making an explore game.

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dburdan
Posts: 104
Joined: Fri Jan 28, 2011 5:39 am

Making an explore game.

Post by dburdan » Mon Apr 04, 2011 8:24 pm

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?

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Making an explore game.

Post by BvG » Tue Apr 05, 2011 1:16 pm

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

dburdan
Posts: 104
Joined: Fri Jan 28, 2011 5:39 am

Re: Making an explore game.

Post by dburdan » Tue Apr 05, 2011 8:13 pm

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.

witeowl
Posts: 45
Joined: Mon Feb 21, 2011 3:02 am

Re: Making an explore game.

Post by witeowl » Wed Apr 06, 2011 5:00 am

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?
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
Posts: 104
Joined: Fri Jan 28, 2011 5:39 am

Re: Making an explore game.

Post by dburdan » Sat Apr 09, 2011 8:50 pm

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.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Making an explore game.

Post by BvG » Sun Apr 10, 2011 12:08 am

That's just silly :lol:

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10044
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Making an explore game.

Post by FourthWorld » Sun Apr 10, 2011 6:07 am

Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dburdan
Posts: 104
Joined: Fri Jan 28, 2011 5:39 am

Re: Making an explore game.

Post by dburdan » Tue Apr 12, 2011 2:23 am

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..

Post Reply