[Wip] Bomb jhon

Started by Zip, February 08, 2011, 07:30:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zip

Hi to all =)
first of all thnx for everyone collaborate to make this language...

I'm a wiz user from italy, and im intrested in programming e retrogaming

there is my project, an remake of arcade game bomb jack

im working on it since december...

that is the last release
bomb_jhon_0.0045 & Test_0.0045
http://www.megaupload.com/?d=7FHPNFXT
i've made the file prg called test00xxx for work on the various feature in a simple file...


now i have a problem,

i need to set the vertical limit:
the platform needto be accesible only on top and cant be accessible from bottom (like is now..)

i dont want to remade all the control part of the code T_T

i need some help from you all..

se vi parlo in italiano è meglio?
sorry for my bad english

FreeYourMind

Ciau, Lo spagnolo è simile  ;D

You can use coordinates.

Zip

gia ci sono le coordinate come limite provvisorio,
ma devo fare in modo che il personaggio principale quando salti controlli se in alto alla testa (nella mappa durezze) ci sia il rosso, se si si blocchi, come nei movimenti laterali (ovviamente si basano su esempi che avevo scaricato).
in modo che per salire sulle piattaforme devi saltare a lato a esse e poi spostarti su di esse

piu semplicemente provate bombjack originale e questo e vedete le differenze

need to translate?

FreeYourMind

Yes, i don't understand nothing of italiano xDDD

Zip

LOL!
i try to translate XD
but i think there need a draw to explain immediatly... (next time)
Quote
gia ci sono le coordinate come limite provvisorio,
ma devo fare in modo che il personaggio principale quando salti controlli se in alto alla testa (nella mappa durezze) ci sia il rosso, se si si blocchi, come nei movimenti laterali (ovviamente si basano su esempi che avevo scaricato).
in modo che per salire sulle piattaforme devi saltare a lato a esse e poi spostarti su di esse

piu semplicemente provate bombjack originale e questo e vedete le differenze
at this moment there is the Coordinate limit (like  if y<30 caduta=5)
but i need that: when the "personaggio" ,(personaje),jump then control the pixel ontop of his head (in the map of "durezza") if is red then block under platform

,simply like the lateral movement ! (obviusly movement based on the example downloaded XD)


more simply: just download the file i linked, open test 0045 (the basic version of game,whit only "personaggio")
play and try the difference with original bomb jack...

if dont understand i'll make a draw XD

ps: u understand first post?

FreeYourMind

I try the example, i don't see nothing wrong with them.
If you want a top limit you can use another color.

Do you see the Bomb Jack DIV version ? It have all you want implemented and it's an excellent remake.

Windgate

I tested it, but I found bizarre controls... I think it will be best to have a very short readme explaining it or change it for a more intuitive key controls in future versions :D
Iván García Subero. Programador, profesor de informática, monitor de actividades culturales y presidente de TRINIT Asociación de Informáticos de Zaragoza. http://trinit.es

SplinterGU

Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Zip

Quote from: FreeYourMind on February 08, 2011, 06:59:03 PM
I try the example, i don't see nothing wrong with them.
If you want a top limit you can use another color.

no! i use the condition: (explaneted...)
press space
If pixel under him is green
  jump 20
else jump 1 (plane)
end if
end
i need to add
some like
if pixel on top
is red block like a wall
and fall down normally



Quote from: FreeYourMind on February 08, 2011, 06:59:03 PM
Do you see the Bomb Jack DIV version ? It have all you want implemented and it's an excellent remake.

is an open source bomb jack? where can i find?

QuoteI tested it, but I found bizarre controls... I think it will be best to have a very short readme explaining it or change it for a more intuitive key controls in future versions

simply because is a beta
ill relase to pubblic at 0.5 version
now is 0.0045 XD

FreeYourMind

In 1 hour i send you the src's.

Zip

Quote from: FreeYourMind on February 09, 2011, 04:50:11 PM
In 1 hour i send you the src's.
thanx =)

i made a draw of my problem XD:


Uploaded with ImageShack.us

FreeYourMind

BombJack source code  (Karmas are welcome  ;D ;D)

handsource-dyko

Maybe you need to check for an offset distance. I guess you are using the map_get_pixel function?
When this fuction is used, it checks agianst the center of the character's bitmap. So, you need to to offest half the character's height.

Zip

#13
Quote from: FreeYourMind on February 10, 2011, 12:22:41 PM
BombJack source code  (Karmas are welcome  ;D ;D)
thanx so much =) and for complete game? its in bennu right?
i wanna try the game for find what to do on mine
Quote from: handsource-dyko on February 10, 2011, 03:52:45 PM
Maybe you need to check for an offset distance. I guess you are using the map_get_pixel function?
When this fuction is used, it checks agianst the center of the character's bitmap. So, you need to to offest half the character's height.


obviusly =)
if u see the code of game u can see, : map get pixel(..,..,x,y+8) y+8= bottom y-8=head
but i already used "get pixel rgb" and "map get pixel" for the main control of jump

if under personajo is green jump 20 (caduta=+20)
else
jump 1 (plane..) (caduta=+1)
end


i try in all possible thing
to add the code for break on red like wall (like lateral movement)

i think i need to use another variable
to add like

if pixel on top is read
z=-1
end

caduta =caduta+z



someone can try to help me?
u all are more expert of me in these language, i think just a little watch on the code u can find what need to do



FreeYourMind

No, it's DIV, you need to adapt the code you need.