Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Projects
»
Edit Alien Runner wall
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Edit Alien Runner wall (Read 8173 times)
sweeta
byte
Posts: 7
Edit Alien Runner wall
«
on:
March 21, 2011, 09:18:46 am »
Hello,
I am a android learner. I want to edit a number of counts of walls in alien runner to 5... How can it be done? Please help.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Edit Alien Runner wall
«
Reply #1 on:
March 21, 2011, 09:42:12 am »
I don't get the question...what "number of counts"?
Logged
sweeta
byte
Posts: 7
Re: Edit Alien Runner wall
«
Reply #2 on:
March 21, 2011, 09:45:28 am »
it means.. number of wall... means number of walls in game... i want to keep it fix to value 5..?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Edit Alien Runner wall
«
Reply #3 on:
March 21, 2011, 09:49:17 am »
The number of walls depends on the level. The levels are simple ACSII files. If you want to limit the number of walls/pools/ramps..., you have to edit these files.
Logged
sweeta
byte
Posts: 7
Re: Edit Alien Runner wall
«
Reply #4 on:
March 21, 2011, 09:52:25 am »
Can you please explain in little more detail?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Edit Alien Runner wall
«
Reply #5 on:
March 21, 2011, 10:49:30 am »
Open res/raw/level(1..3).txt with some ASCII editor, edit it, save it, run game. Each character stands for an object. Which is which should be possible to get out of the code of ObjectPool. Walls are 'w' for example.
Logged
sweeta
byte
Posts: 7
Re: Edit Alien Runner wall
«
Reply #6 on:
March 24, 2011, 12:53:47 pm »
Thanks! My problem is solved
Logged
sweeta
byte
Posts: 7
Re: Edit Alien Runner wall
«
Reply #7 on:
March 27, 2011, 01:12:34 pm »
Now i want to add alertbox in between the game.. when alien hits the wall.! Please guide for this.
I tried to use alertdialog.builder. But error is coming
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Edit Alien Runner wall
«
Reply #8 on:
March 28, 2011, 08:24:37 am »
This is unrelated to jPCT-AE. It might be a better idea to ask this in a dedicated Android forum.
Logged
sweeta
byte
Posts: 7
Re: Edit Alien Runner wall
«
Reply #9 on:
March 28, 2011, 09:03:42 am »
ok thanks
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Projects
»
Edit Alien Runner wall