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
Lazarus and XML
by
skom
[
Today
at 05:59:02 pm]
List of FPC intrinsic
by
Okoba
[
Today
at 05:35:14 pm]
Retreive SQL query result...
by
rvk
[
Today
at 05:31:49 pm]
Intrinsic for type of int...
by
Okoba
[
Today
at 05:28:33 pm]
unit not found (StdCtrls)
by
munair
[
Today
at 04:05:45 pm]
Encapsulating existing fu...
by
jamie
[
Today
at 03:57:21 pm]
VAR RECORD doesn't work?
by
jamie
[
Today
at 03:52:15 pm]
[ Solved ] howto set onmo...
by
Jumbo
[
Today
at 02:57:22 pm]
[SOLVED] console app wind...
by
senglit
[
Today
at 12:21:57 pm]
drop picture from browser
by
Handoko
[
Today
at 07:50:10 am]
Searchkey Tdbf
by
Handoko
[
Today
at 05:56:02 am]
LAMW - (SOLVED) upload fi...
by
Mongkey
[
Today
at 05:20:23 am]
FPImageException while l...
by
TRon
[
Today
at 03:10:14 am]
Make visual components no...
by
sstvmaster
[September 30, 2023, 11:37:48 pm]
Scrolling TStringGrid
by
jamie
[September 30, 2023, 11:01:01 pm]
Large system, i2C to go w...
by
ccrause
[September 30, 2023, 08:52:34 pm]
[ solved ] drawn lines no...
by
Jumbo
[September 30, 2023, 12:00:30 pm]
ZenGL Update +android + M...
by
Seenkao
[September 30, 2023, 12:16:22 am]
Notarization under macOS ...
by
TRon
[September 29, 2023, 11:10:27 pm]
Image not shown after use...
by
Jumbo
[September 29, 2023, 10:14:11 pm]
Saving a Form state (rela...
by
Curt Carpenter
[September 29, 2023, 07:46:53 pm]
Poor optimization of cons...
by
440bx
[September 29, 2023, 06:55:50 pm]
Accessing JSON data from ...
by
magleft
[September 29, 2023, 02:22:30 pm]
Operator not Overloaded E...
by
cdbc
[September 29, 2023, 01:15:28 pm]
Can't hide main window
by
zeljko
[September 29, 2023, 08:16:40 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Working with the canvas on the example of a game. (Read 544 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