PWP wiki processor

ideas

|StartPage |WikiPages |UploadedFiles |RecentChanges |TrashBin |FullTextSearch |Extra |About |
| ideas: Reload - Edit - QuickEdit - History - BackLinks - Erase |
Ideas

Ideas

In this page we post ideas that still need to be approved or to discuss about

Game Working

I wrote this files that describe in global how urpg will works.

Intergame comunication

One of the most problem will be how process (ie event handler and engins) comunicate. To solve this problem i found one solution (the multi register) the other is a friend suggestion.

Multi Register System

In this way all engine have a register (or istructin stack) where the evente handler write things to do. A soon as possible the engine look into is own register and execute this. The register handler (apart of the engine) must hold some vars to avoid error.

Example:

We press the forward arrow. The event handler understand that the character must go forward. The event handler write in the video-eng register to draw a pass of the character. In the audio-eng register we write the istruction to play sound of 1 pass. The video-eng read his register and draw the character moving. At the same time the sound-eng plays the step.

If one istruction reach timeout the register handle will add this istruction to the next (for example if the video-eng can't draw one step and arrive the order to draw another then the register handler write 2 step instead of one)

Single register System

In this way there is only one register that take care to broadcast action to do.

Example

We press the forward arrow. The event handler understand that the character must go forward. The event handler write in the main reg that video eng must draw the character making one step and the sound eng must play one step. The reg handler tell to video-eng and sound-eng what they must do.

Forum

(must be logged in)

»https://sourceforge.net/forum/forum.php?thread_id=1240096&forum_id=433094

Waiting for suggestion, Snake88

Model engines

This can be an idea on how the engines are structured:

Crystal space is the actual 'i/f engine' but we can use sdl or some other existing engine.

Waiting for suggestion, zLuke

|StartPage |WikiPages |UploadedFiles |RecentChanges |TrashBin |FullTextSearch |Extra |About |
| ideas: Reload - Edit - QuickEdit - History - BackLinks - Erase |

   (Powered by PWP Version 1-4-3 )