Author Topic: Lander project  (Read 45530 times)

0 Members and 1 Guest are viewing this topic.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Lander project
« Reply #45 on: June 06, 2018, 10:30:25 am »
Oh man! Message Box will be handy for debugging. Thanks!

So the reason the buttons have even more silver (not white) showing on sides is because the 6 taken off top + bottom in total, has to be taken off each side individually.

AH! use picture boxes for image buttons. Got it!

Append: Oh hey! that means we can draw our buttons with action stuff...

Man, Inform stock just shot up with interest! We could use fire for thruster button background.
« Last Edit: June 06, 2018, 10:45:41 am by bplus »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Lander project
« Reply #46 on: June 06, 2018, 11:06:08 am »
bplus,

I can do fancy square buttons like this one if you would prefer...

J
square.png
* square.png (Filesize: 194.18 KB, Dimensions: 319x319, Views: 737)
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Lander project
« Reply #47 on: June 06, 2018, 11:24:57 am »
Oh that's nice! Red for off, yellow for mouse over and green for go!

Offline Ashish

  • Forum Resident
  • Posts: 630
  • Never Give Up!
    • View Profile
Re: Lander project
« Reply #48 on: June 06, 2018, 11:35:14 am »
@bplus
Well... You can also use console for debugging. Use use $console and print value to console window. And if you want to go professional, go and check
Fellipe's vWatch64.
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials

FellippeHeitor

  • Guest
Re: Lander project
« Reply #49 on: June 06, 2018, 12:40:18 pm »
@bplus
Well... You can also use console for debugging. Use use $console and print value to console window. And if you want to go professional, go and check
Fellipe's vWatch64.

As much as I appreciate the recommendation, I must warn you guys that, given InForm's complexity, it doesn't play along well with vWATCH64 in the current version of the debugger.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Lander project
« Reply #50 on: June 06, 2018, 05:44:44 pm »
Oh that's nice! Red for off, yellow for mouse over and green for go!

These things look SO good when they are 300x300 pixels... Not too sure about 50x50. I will give it a bash but will also do a 100x100. Give me a little while and I will post the results. Warning: Compared to the games' current 'look', this little puppy, is going to 'stand out'. I will attempt to mock up something that will, more or less, 'fit in' with the decor... lol

Stay tuned...

J
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Lander project
« Reply #51 on: June 06, 2018, 07:08:06 pm »
Oh hey Johnno,

The picture boxes on forms can shrink images to fit box, also what we loose in width (200) we can gain in height (50) so maybe 100 x 100?

Also because they are picture boxes, we might play around with some live drawing effects.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Lander project
« Reply #52 on: June 06, 2018, 07:31:42 pm »
I figured you might go with 100x100.

The buttons are 'ok' at 100x100 (slightly 'grainy' for my liking...) but 50x50 is well... you can guess... lol

Here are the 3 'Restart' buttons. It took ages to make just one! But, once it was made, the second and third only needed to change the 'colour' layer of the image.

I need more coffee... Phew!

J

ps: I have saved the layered image file... just in case...

* buttonRed.png (Filesize: 9.99 KB, Dimensions: 100x100, Views: 754)

* buttonYellow.png (Filesize: 11.27 KB, Dimensions: 100x100, Views: 752)

* buttonGreen.png (Filesize: 10.01 KB, Dimensions: 100x100, Views: 755)
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Lander project
« Reply #53 on: June 06, 2018, 07:54:20 pm »
Very nice, Johnno!

I am thinking of color coded landing lights at each of the 4 bases, each color represents a certain amount of points.

Then when refueled at base a new set of lights to choose to fly to and land... ? So you can choose your level of play as you go.

Maybe ships will experience attacks of flies!  ;-))


Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Lander project
« Reply #54 on: June 06, 2018, 08:09:47 pm »
Sounds a bit like, I think it was for a Microbee computer, a vector-type lander game. Ship launches from a pad and has to reach the next pad before running out of fuel and so on until the end. Degree of difficulty increased by extending the flightpath. Later 'way stops' for fuel was added (but not a 'full tank') to maybe get you to the next pad. Later again the introduction of 'foreign' objects to make you use more fuel in avoiding them. (no weapons... nuts)  It was a very simple game. 'Line drawings' (no colour) and the arrow keys. If I can find a link I'll share it. Game is quite old, but with a bit of 'slight of hand' and a bucket load of TLC, it could be made to 'live again'....

J

ps: The introduction of the "dark" landscape certainly adds another degree of difficulty. Good think you popped in the coloured line... Took a few 'crispy' landings to finally survive... Cool.
Logic is the beginning of wisdom.