Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Pas2JS
»
Working with the canvas on the example of a game.
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Compiling shadow classes ...
by
Alex.Machado
[
Today
at 10:32:52 am]
Poor optimization of cons...
by
lagprogramming
[
Today
at 10:18:42 am]
Is it possible to use a T...
by
TRon
[
Today
at 10:13:21 am]
Notarization under macOS ...
by
msintle
[
Today
at 10:11:56 am]
cannot find -lTpNumLib: N...
by
marcov
[
Today
at 09:44:55 am]
Delpi Knowledge learning ...
by
BlueIcaro
[
Today
at 09:40:34 am]
Linker error with LLVM 15...
by
geraldholdsworth
[
Today
at 09:33:52 am]
Two version of Lazarus - ...
by
TRon
[
Today
at 08:37:59 am]
SaveToFile via 2 streams:...
by
AlexTP
[
Today
at 05:30:17 am]
Encapsulating existing fu...
by
TRon
[
Today
at 05:26:26 am]
FPImageException while l...
by
TRon
[
Today
at 04:56:04 am]
Retreive SQL query result...
by
egsuh
[
Today
at 04:21:27 am]
LAMW - opening URL in ext...
by
Manlio
[
Today
at 03:20:58 am]
DockedFormEditor trouble
by
Manuel Santana
[
Today
at 03:09:22 am]
Error : Operation cannot ...
by
essence-ciel
[
Today
at 01:41:07 am]
Lazarus and XML
by
wp
[October 01, 2023, 11:50:49 pm]
CreateWindowHandle
by
Paolo
[October 01, 2023, 11:27:03 pm]
convert kml file to gps
by
folkeu08
[October 01, 2023, 11:15:34 pm]
Intrinsic for type of int...
by
jamie
[October 01, 2023, 09:37:09 pm]
List of FPC intrinsic
by
simone
[October 01, 2023, 08:57:48 pm]
Set of Enum in generic
by
Okoba
[October 01, 2023, 06:36:54 pm]
unit not found (StdCtrls)
by
munair
[October 01, 2023, 04:05:45 pm]
VAR RECORD doesn't work?
by
jamie
[October 01, 2023, 03:52:15 pm]
[ Solved ] howto set onmo...
by
Jumbo
[October 01, 2023, 02:57:22 pm]
[SOLVED] console app wind...
by
senglit
[October 01, 2023, 12:21:57 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Working with the canvas on the example of a game. (Read 546 times)
yus
Jr. Member
Posts: 54
Working with the canvas on the example of a game.
«
on:
May 10, 2023, 11:02:46 pm »
Maybe it will be useful to someone.
This is not a complete work game.
Repository:
https://github.com/seryal/LodeRunner
Example:
http://syware.ru/loderunner/
«
Last Edit: May 10, 2023, 11:06:03 pm by yus
»
Logged
https://github.com/seryal
Ñuño_Martínez
Hero Member
Posts: 1186
Re: Working with the canvas on the example of a game.
«
Reply #1 on:
June 04, 2023, 11:40:08 am »
Nice example. Unfortunately when pressing "X" or "Z" my webrowser (Firefox 102.10+Debian 11) activates the search bar (actually it happens with some games even created with tools like Unity and Gamemaker).
Logged
Are you interested in
game programming
? Join the
Pascal Game Development
community!
Also visit the
Game Development Portal
Jonax
Newbie
Posts: 2
Re: Working with the canvas on the example of a game.
«
Reply #2 on:
June 04, 2023, 05:31:27 pm »
Well done. Fully playable on my browser. I managed to collect all the gold (yellow stuff)
I also managed to dig myself into a hole with the X & Z.
Keep up the good work
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Pas2JS
»
Working with the canvas on the example of a game.
TinyPortal
© 2005-2018