|
Search Results
|
| Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
| |
|
Thread: [Suggestion] Getting the positions of a layer
Post: RE: [Suggestion] Getting the positions of a layer
|
RootBeerKing Wrote: (05-18-2022, 11:29 PM)
--
Did you ever make the pull request for this? Would love these features to be added to the main project.
--
Oh that's true I have to make this PR, but I... |
|
System64 |
Support
|
8 |
22,802 |
05-19-2022, 02:14 AM |
| |
|
Thread: Adding more blending modes
Post: RE: Adding more blending modes
| I added new blend modes in my fork. Thanks for your help! |
|
System64 |
Support
|
3 |
9,785 |
05-10-2022, 07:53 AM |
| |
|
Thread: Adding more blending modes
Post: RE: Adding more blending modes
|
megamarc Wrote: (05-09-2022, 08:55 PM)
--
Hi!
Built-in blending tables are created in file Tables.c, in CreateBlendTables() function:
https://github.com/megamarc/Tilengine/blob/effe3a778de747469f8c... |
|
System64 |
Support
|
3 |
9,785 |
05-09-2022, 09:11 PM |
| |
|
Thread: Adding more blending modes
Post: Adding more blending modes
| Hello. I want to add more blending modes into Tilengine, such as logical OR, logical AND, and so on. I know I can define a custom blending function, but I want to implement it right into the library. ... |
|
System64 |
Support
|
3 |
9,785 |
05-09-2022, 07:58 PM |
| |
|
Thread: [Suggestion] Getting the positions of a layer
Post: RE: [Suggestion] Getting the positions of a layer
| I followed your advices and made the functions simpler. I did the same for the sprites. I also commited the changes in my fork :
https://github.com/system64MC/Tilengine/blob/master/src/Layer.c#L1128 ... |
|
System64 |
Support
|
8 |
22,802 |
04-12-2022, 02:25 AM |
| |
|
Thread: [Suggestion] Getting the positions of a layer
Post: RE: [Suggestion] Getting the positions of a layer
| Okay so I tried to make a getter for the positions of a layer.
Code:
--
int TLN_GetLayerPosX(int nlayer)
{
Layer* layer;
if (nlayer >= engine->numlayers)
{
TLN_SetLastError(TLN_ER... |
|
System64 |
Support
|
8 |
22,802 |
04-11-2022, 10:50 AM |
| |
|
Thread: CsTilengine for version 2.9.5
Post: RE: CsTilengine for version 2.9.4
|
vonhoff Wrote: (04-04-2022, 05:39 AM)
--
System64 Wrote: (04-01-2022, 09:00 PM)
--
Oh this is so nice! I didn't want to use the C# bindings because it used an old version of Tilengine. But now, this... |
|
System64 |
Presentations
|
6 |
18,877 |
04-09-2022, 12:19 AM |
| |
|
Thread: CsTilengine for version 2.9.5
Post: RE: CsTilengine for version 2.9.4
| Oh this is so nice! I didn't want to use the C# bindings because it used an old version of Tilengine. But now, this problem is fixed. By the way I suggest you to make a pull request to the official re... |
|
System64 |
Presentations
|
6 |
18,877 |
04-01-2022, 09:00 PM |
| |
|
Thread: [Suggestion] Getting the positions of a layer
Post: RE: [Suggestion] Getting the positions of a layer
|
megamarc Wrote: (03-09-2022, 02:37 AM)
--
Hi!
This is a good suggestion indeed. You suggest to enable standard getters for sprite and layer position. No problem.
Right place may be on github, o... |
|
System64 |
Support
|
8 |
22,802 |
03-09-2022, 05:37 AM |
| |
|
Thread: [Suggestion] Getting the positions of a layer
Post: [Suggestion] Getting the positions of a layer
| Hello, I don't know if it's the right sub-forum to post suggestions in, but I have a suggestion that might be useful.
We can set the position of a layer with TLN_SetLayerPosition(int layerId, int x, ... |
|
System64 |
Support
|
8 |
22,802 |
03-06-2022, 10:52 AM |
| |
|
Thread: Can't run Python Platformer sample
Post: RE: Can't run Python Platformer sample
|
megamarc Wrote: (02-02-2021, 05:05 AM)
--
Sorry, it was my fault.
In release 2.8.5 I removed some unused functions, but the binding was still trying to find them. I updated the binding in PythonP... |
|
System64 |
Support
|
8 |
25,948 |
02-02-2021, 06:45 AM |
| |
|
Thread: Can't run Python Platformer sample
Post: RE: Can't run Python Platformer sample
| I tried to load by getting the current directory and concatenate with the file name to get the absolute path, I still have errors about Tilengine's methods
Is it normal? |
|
System64 |
Support
|
8 |
25,948 |
02-01-2021, 09:05 PM |
| |
|
Thread: Can't run Python Platformer sample
Post: RE: Can't run Python Platformer sample
|
megamarc Wrote: (02-01-2021, 05:06 AM)
--
Hi,
You must install Tilengine shared library separately, depending on your OS. The PythonPlatformer project doesn't include it. Please post here what error... |
|
System64 |
Support
|
8 |
25,948 |
02-01-2021, 05:16 AM |
| |
|
Thread: Can't run Python Platformer sample
Post: Can't run Python Platformer sample
| How can I run the Python Platformer sample please? I tried and I have some errors
Do I need a specific version of Python?
Thanks for your answer! |
|
System64 |
Support
|
8 |
25,948 |
01-30-2021, 02:16 AM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| Seems LUA is better with C language, someone recommends to use Groovy, jruby or jython
again, I don't know if I can interact with the game directly for graphics effects
Otherwise I have 2 more ide... |
|
System64 |
Support
|
79 |
209,963 |
12-30-2020, 10:15 PM |
| |
|
Thread: Tilengine on Java
Post: RE: Tilengine on Java
| It's not related directly with Java, but I want to avoid hardcoding certain things, especially raster effects
Can I use a scripting language likes LUA for that kind of tasks and keeps the main prog... |
|
System64 |
Support
|
79 |
209,963 |
12-30-2020, 07:31 AM |
| |
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
|
megamarc Wrote: (12-28-2020, 10:42 PM)
--
Yes, that's a way to do it. Integers are 32-bit long, so you have up to 32 bits to encode pieces of separate info.
However I think it may be more manageab... |
|
System64 |
Support
|
33 |
89,982 |
12-29-2020, 01:31 AM |
| |
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
| ah yeah that's useful!
I may also have an idea to store more data than expected
I can for exemple use a 10-digits numbers
I can split this number to obtain each digit and store them in an array... |
|
System64 |
Support
|
33 |
89,982 |
12-28-2020, 09:13 PM |
| |
|
Thread: Objects list : How to use it?
Post: RE: Objects list : How to use it?
| and if I understand well, I can use the type for object's speed or what the object loots for exemple? |
|
System64 |
Support
|
33 |
89,982 |
12-27-2020, 09:44 PM |
| |
|
Thread: Multiple palettes for a tileset?
Post: RE: Multiple palettes for a tileset?
|
System64 |
Support
|
10 |
28,782 |
12-27-2020, 09:41 PM |