Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DOM oder Canvas für schwache Smartphones?

Empfohlene Antworten

Veröffentlicht

Hallo,

ich möchte ein Brettspiel mit HTML5 für Smartphone (iPfone/Android/Symbian) programmieren und habe im Inet 2 HTML5 Game-Framework gefunden, die kostenlos sind.

Frage was sollte für die relative schwache Smartphones (z.B. Samsung GT-5800) besser geeignet sein?

1. LimeJS LimeJS HTML5 Game Framework der setzt Canvas ein

2. Gamequery gameQuery - a javascript game engine with jQuery , der setzt DOM ein:

Canvas is a very powerfull and efficient way to maniputale images in the browser and is thus probalby the best solution for nice looking games, however I choose DOM manipulation for gameQuery... why is that? First I think that for most practical solution ouside of games DOM is still the way to go. Since one of my goal was to learn usefull javascript using DOM made sens to me. Benchmark for pure javascript are available but aving a way to test the DOM engine is more tricky... games are a good way to test this side of the javascript performances. Finally I hope that gameQuery can be used by beginers to learn game programming and with this in mind I think it's easier to debug you games when all your object are visible with a simple DOM explorer.

wenn du im Internet keine Quelle findet, die sich mit den beiden Möglichkeiten auseinander setzt, dann kannst du einfach beide mal ausprobieren und anhand dessen entscheiden, was bessser geeignet ist

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.