Discuss Scratch

colind8
Scratcher
7 posts

Help with LCD game scripts

You know LCD games like the game and watch? I was wondering how you can implement something like that on Scratch. The following will help you get an idea of how LCD games function. Here's what I gathered up so far:


•There are a ton of sprites (I call it sprites just because I don't know what they're actually called) in each game that can either be shown or hidden. They activate/deactivate in the form of an animation, but slowly (Unless it's game B).

Here is an example of all the sprites active at once


•Each sprite cannot overlap another sprite unless you manage to create an illusion.

Here's an example of an illusion where it looks like they're touching, but not.


•Despite the normal animations/projectiles/people you have to save having slow movements, the sprites the player can control can move at the players desired pace

•Most LCD games have very simple controls. Usually a left and a right button, but some do have more complex controls, like Donkey Kong for the Game and Watch which features the first ever D-Pad and just a normal jump button.

•Every LCD game get's harder as you play. The longer you play, the more sprites are active on screen.

•All LCD games feature 2 modes, which are mostly named “Game A” and “Game B”. Game A is the easy mode and it's good for casual and normal gameplay. Game B, however, is faster, harder, and sometimes it adds another gameplay aspect (ex. Fire's game B can have a person jump off the second story of the building)

•The backgrounds can have color (not too much I think). The colored backgrounds can be touched by the sprites. The sprites themselves, however, can not have color.

•LCD games are not all pixeled. Some of them have very clean roundness. Both sprites and backgrounds can be as round as they want.

•LCD games use a digital clock-like display to keep track of scores.

Here's the score counter on Fire


•Sometimes the digital clock-like score counter can be used as an actual digital clock. Hence why Game & Watch is called Game & Watch.

•LCD games aren't just rectangles. Sometimes they can have dual screens, like the DS. Examples being Donkey Kong, Green House, and Zelda.





(sometimes they look like arcade cabinets as well)

•Sounds are literal beeps. I don't know how to replicate them. if you know, please tell! However, we have an alternative of 5 videos containing sounds from different game and watch games.

https://www.youtube.com/playlist?list=PLRtV1l4Qcuo26-Z0xtf-A6q0qQ3d1NYXU



More gameplay to show more on how LCD games work:
https://www.youtube.com/watch?v=raJv6N0kSv4 Game & Watch - Fire
https://www.youtube.com/watch?v=BPLtkmZ0aGY Game & Watch - Octopus
https://www.youtube.com/watch?v=ZPrDFHMfdS8 Game & Watch - Parachute

If you wish to play a few for yourself, there is a website that has a few LCD games online:
http://pica-pic.com


Now for the real reason that this is in the scripts forum. I need scripts and/or ideas to make an LCD game from Scratch. Here is what I ask of you:

•Can you make sample scripts that can easily be used to create all the sprites
•A way to check for sprites in certain locations (Such as the net and a person on Fire)
•A way for clones to read a clone's variable
•Find a way to replicate the sound LCD games can make
•If you can, some other suggestions for making an LCD game

Well, that's all I have to say. And if you read this whole thing, good for you. Before I look at your suggestions and ideas, I'm gonna have a drink because I spent two hours writing this. Farewell!

Last edited by colind8 (March 13, 2018 01:13:47)

Scratch-Minion
Scratcher
1000+ posts

Help with LCD game scripts

You can write an LCD game in Scratch if you can write a game in Scratch.

You need to decide what your game will be.

You could start with a very simple one with one sprite moving slowly around the stage, if touching edge bounce.
You win when you click the sprite.
In can be a timed game with an LCD timer.

This project “LCD clock” https://scratch.mit.edu/projects/997313/ by @ssaamm has costumes and some code for a clock.
colind8
Scratcher
7 posts

Help with LCD game scripts

Scratch-Minion wrote:

You can write an LCD game in Scratch if you can write a game in Scratch.

You need to decide what your game will be.

You could start with a very simple one with one sprite moving slowly around the stage, if touching edge bounce.
You win when you click the sprite.
In can be a timed game with an LCD timer.

This project “LCD clock” https://scratch.mit.edu/projects/997313/ by @ssaamm has costumes and some code for a clock.
I probably already did that before, probably trying to create pong. My game is a collection of multiple custom LCD games. I made 2 test projects, mostly to test sprite positioning. Otherwise, thanks for showing me the project with the clock, I'm gonna use it.

Last edited by colind8 (March 11, 2018 16:51:50)

Powered by DjangoBB