The following warnings occurred:
Warning [2] Undefined array key "" - Line: 1584 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1584 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Undefined array key "useravatar" - Line: 6 - File: inc/functions_post.php(938) : eval()'d code PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_post.php(938) : eval()'d code 6 errorHandler->error_callback
/inc/functions_post.php 938 eval
/showthread.php 1118 build_postbit
Warning [2] Undefined array key "userstars" - Line: 11 - File: inc/functions_post.php(938) : eval()'d code PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_post.php(938) : eval()'d code 11 errorHandler->error_callback
/inc/functions_post.php 938 eval
/showthread.php 1118 build_postbit
Warning [2] Undefined array key "" - Line: 1584 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1584 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 1588 - File: inc/functions.php PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 1588 errorHandler->error_callback
/inc/functions_post.php 203 usergroup_displaygroup
/showthread.php 1118 build_postbit
Warning [2] Undefined array key "useravatar" - Line: 6 - File: inc/functions_post.php(938) : eval()'d code PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_post.php(938) : eval()'d code 6 errorHandler->error_callback
/inc/functions_post.php 938 eval
/showthread.php 1118 build_postbit
Warning [2] Undefined array key "userstars" - Line: 11 - File: inc/functions_post.php(938) : eval()'d code PHP 8.0.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions_post.php(938) : eval()'d code 11 errorHandler->error_callback
/inc/functions_post.php 938 eval
/showthread.php 1118 build_postbit




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arkanoid
#1
There were some arkanoid/breakout games posted on the old forum. Here's a new clone using the tilemap library and the assets found here:

https://opengameart.org/content/basic-arkanoid-pack

The game is just as basic as the assets, and hopefully it's not hard to figure out what's going on.

[Image: arkanoid.jpg]


Attached Files
.zip   arkanoid.zip (Size: 78.26 KB / Downloads: 28)
Reply
#2
(03-31-2018, 03:15 PM)Rick3137 Wrote: Error line 104:
 Expected '#'
  ballDY =  abs(ballDY)

Aw darned Sad Is that when compiled with version 1.0.1?

You can change abs to abs# and it should work. But I'll fix and update the compiler.
Reply
#3
(03-31-2018, 05:12 PM)Rick3137 Wrote:
(03-31-2018, 03:48 PM)Marcus Wrote:
(03-31-2018, 03:15 PM)Rick3137 Wrote: Error line 104:
 Expected '#'
  ballDY =  abs(ballDY)

Aw darned Sad Is that when compiled with version 1.0.1?

You can change abs to abs# and it should work. But I'll fix and update the compiler.

    Yes, n6 1.0.1 , downloaded today.

Alright, I'll fix that, thanks for reporting Smile  My Windows PC is half dead, so I couldn't test stuff as much as I wanted.

What happens if you try to compile this code line:

foo# = rnd(100.0)

Does he complain about # in that case too?
Reply
#4
Cool game. Very retro style graphics. Ran nice and smooth. No glitches. Well done!!

J
Reply
#5
(03-31-2018, 07:48 PM)Rick3137 Wrote: foo# = rnd(100.0)    compiles OK

 While you're at it, could you add a draw circle command?

Sure Smile
Reply
#6
Oh... I take it back! Devious game! Troddling along, with some ease, for a few levels. (Insidious method of luring into a false sense of security) BOOM! The ball speeds up... BOOM! Without warning the "bat" shrinks... Before I knew it, all my lives are gone, and I'm staring at a 'Game Over'... Well made, Author. Well made. As we say here in Australia, "May your chooks turn into emus and kick your dunny door in.". (homework is to interpret...) LOL

J

ps: Brilliant game!
Reply
#7
(04-01-2018, 08:35 AM)johnno56 Wrote: Oh... I take it back! Devious game! Troddling along, with some ease, for a few levels. (Insidious method of luring into a false sense of security) BOOM! The ball speeds up... BOOM! Without warning the "bat" shrinks... Before I knew it, all my lives are gone, and I'm staring at a 'Game Over'...  Well made, Author. Well made. As we say here in Australia, "May your chooks turn into emus and kick your dunny door in.". (homework is to interpret...) LOL

J

ps: Brilliant game!

Big Grin  Still needs enemies and powerups, but it may be a starting point for anyone wanting to write a breakout style game.
Reply
#8
(03-31-2018, 07:48 PM)Rick3137 Wrote: foo# = rnd(100.0)    compiles OK

 While you're at it, could you add a draw circle command?

You can now download version 1.0.2, which has a draw ellipse command, and the # thing has been fixed Smile 

It actually took me a while to implement a good and fast ellipse rasterizer (for filled ellipses that works with transparency, just like all naalaa's drawing commands) based on Bresenham's integer algorithm.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)