Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mnemonic

Pages: [1] 2 3 ... 382
1
WME Lite / Re: Proof of concept: WME lite engine running in browser
« on: October 14, 2018, 09:00:45 AM »
Wow, I didn't expect to see anything like that. That's awesome. How does it translate the graphics/sound stuff?

2
Technical forum / Re: Problems writing to file
« on: August 26, 2018, 04:27:07 PM »
If you want to append stuff to an existing file, you should use OpenAsText(3).

3
Technical forum / Re: Options Menu (For Mnemonic)
« on: June 20, 2018, 05:29:24 PM »
These are the scripts for Helga Deep in Trouble and the mobile version of Five Magical Amulets. The amulets scripts should be somewhat better.

http://dead-code.org/misc/settings.zip

4
It's all smoke and mirrors :) Simply put, forget about scrolling. The van is basically staying in the same place (moving a little to the left and right) while everything else moves. For example, the trees would be "recyclable" entities, that move from right to left, and when they're off screen, they skip back all the way to the right and then move through the screen again. Same for the fog, houses etc.

Basically you'd need just one script, that would move it's owner entity by decreasing its X position, and if X is lower than some threshold, it would increase it again and repeat the process.
This trick is used by many games, both 2D and 3D. From recent memory, Life is Strange Before the Storm uses this when the main character drives a car through the countryside.

5
If you create PNGs with transparency in Photoshop, they will just work in WME. No need to do anything special.

6
However, using color keys for transparency is a rather ancient technique. Since WME supports PNG images maybe you should rather use alpha channels.

7
Game announcements / Re: ANN: The Games section on WME homepage
« on: September 02, 2017, 01:48:52 PM »
If the demo is nearly finished, feel free to add it. The idea here was not to highlight projects that will never be finished (we are all too enthusiastic when starting new projects... :) ).

8
Technical forum / Re: Variables lost when saving the game
« on: September 02, 2017, 01:46:57 PM »
Do NOT set the variable value in base.inc. That way the value will be reset everytime a new script (which includes base.inc) is executed.
Set default variable values in some script that only gets executed once (game.script, typically).

9
Technical forum / Re: Transparence glitch
« on: August 06, 2017, 08:38:31 AM »
See this post. Adding a 1 pixel transparent border around your image should fix the problem.

10
Technical forum / Re: Global region's events handling
« on: July 09, 2017, 01:45:24 PM »
No, there is no global event listener for this. But I believe anarchist's suggestion is a very valid replacement.

11
General Discussion / Re: Thank you Mnemonic!
« on: May 13, 2017, 09:06:27 AM »
Thank YOU! Glad to hear good ole wme is still being helpful :)

And yes, gamedev is strangely addictive, I know that all too well (working on my own game currently). Good luck with any future projects.

12
Technical forum / Re: Placing items
« on: March 11, 2017, 10:04:31 AM »
Keep in mind entities don't have to be placed in SceneEdit. You can load entities from file at runtime (from a script). Which is the approach I would use in this case. Of course, it's not as comfortable as using SceneEdit, because you'd need to hardcode the entity positions in the script.

As for your other question, using a separate region entity for interaction when the key is not visible is a good approach, IMO. It makes sense, if the key isn't there, you're not interacting with a key, you're interacting with a keyhole, so a keyhole should have it's own entity/script/interaction logic.

13
Technical forum / Re: New line character
« on: June 21, 2016, 08:33:21 PM »
You can use ~n for this purpose in scripts.

14
Bug reports / Re: SceneEdit crash
« on: May 21, 2016, 06:16:42 PM »
It crashes in comctl32.dll, which is a windows component (common controls). I did some googling and people recommend running the consistency check, using the command line command:

Code: [Select]
sfc /scannow

15
Technical forum / Re: Window Object and Scale Level
« on: March 23, 2016, 02:36:38 PM »
There is a way to make some entity always on top:

1) add a new region to the bottom of all nodes in SceneEdit, name it e.g. "topmost".
2) attach your entity permanently to this region: someEntity.StickToRegion("topmost");

Of course, you'd have to create this "topmost" region in every scene, but it could be automated by a script that would automatically add said region everytime a scene is loaded.

Pages: [1] 2 3 ... 382

Page created in 0.613 seconds with 15 queries.