Page 1 of 1

Wow Image object !!

Posted: Wed Apr 03, 2024 1:37 pm
by udi
Hello all.
I'm working on LiveCode Image object.

It's Break Bricks Game stack.
It has minimum graphic library on card script to manipulate raw image data.

Initial version..
http://udimac.web.fc2.com/temp/lcBlock02.livecode

It became like a game..
http://udimac.web.fc2.com/temp/lcBlock04.livecode

And now it's quite fulfilling.
http://udimac.web.fc2.com/livecode/lcBlock090.livecode

Enjoy 80's taste !

Thanks all and sorry to my poor English.
UDI http://udimac.web.fc2.com/livecode/withLivecode.html

Re: Wow Image object !!

Posted: Mon Apr 08, 2024 3:19 am
by bryonenger
Wow! It is amazing. Thanks for sharing it

Re: Wow Image object !!

Posted: Mon Apr 08, 2024 9:09 am
by udi
Hi, bryonenger
Thanks for your reply

I'm still continuing to improve this library.
My brain is boiling.. ha ha

It has speed issues on my old PPC Mac.
To be honest, I doubt it's practical. But I'm enjoying it.



Thanks all and sorry to my poor English.
UDI http://udimac.web.fc2.com/livecode/withLivecode.html

Re: Wow Image object !!

Posted: Mon Apr 08, 2024 3:45 pm
by stam
Hi Udi,

really nice effort.
I'm not sure the performance issues are due to your PowerPC though - I experience latency on an M2 Pro as well.

This may be to do with the how the game loop is constructed (you seem to call moveBall twice before moveRacket and then twice more, every loop), which gives the racket a slightly unresponsive feeling.

Also - the 'exit to hypercard' statement is a bit of a giveaway lol ;)

Loops are not great in LC and there may be code optimisations that could be done.

However I gotta hand it to you, it's straight out of the 80s... Nice :)

Re: Wow Image object !!

Posted: Tue Apr 09, 2024 5:36 am
by udi
Hi stam,
Thanks for your message.

I am aware that the loop structure is not smart.
This is the result of adjusting the movement of the ball and racket on my old Mac.
And it's intentionally so that the racket lags behind the cursor - to make the game more difficult.

It could have been more simple and more smart if it only targeted modern machines.
And, then, ah.. as I focused on enriching my library, it became a chore to make games properly :-p


Thank you for reading my source carefully.
it's my encouragement.

Thanks all and sorry to my poor English.
UDI http://udimac.web.fc2.com/livecode/withLivecode.html

Re: Wow Image object !!

Posted: Mon Apr 15, 2024 2:02 am
by udi
I made it a little more colorful with some small changes, but game's still 80's :-)
It no longer runs smoothly on my PPC Mac and old Celeron machines.

http://udimac.web.fc2.com/livecode/lcBlock091.livecode

In this system, the larger the screen, the greater the CPU load.
It's not suitable for handling large graphics. ( LCB may have that potential )

I'm still going to enjoy this work for a while.
I wish I could use this system to make something else...


Thanks all and sorry to my poor English.
UDI http://udimac.web.fc2.com/livecode/withLivecode.html