Best Recent Content

  • Breeze Godot file icons

    Because I've got nothing better to do, some Breeze icons for godot related files. All in svg so you can have fun with different colors.

  • Breeze Godot file icons

    Because I've got nothing better to do, some Breeze icons for godot related files. All in svg so you can have fun with different colors.

  • Breeze Godot file icons

    Because I've got nothing better to do, some Breeze icons for godot related files. All in svg so you can have fun with different colors.

  • Unnamed Card Game

    I made a card game (untitled yet, naming it is the most difficult part ;) ). I haven't played many of these kind of game, I think just one many years ago. That said it might not be the best idea for me to create a card game. I'm not sure about the gameplay. I think it's not complex and balanced enough, yet the AI I made is too easy to beat.
    The game has a sci-fi setting (because I think it is easier to create sci-fi assets). To win you have to capture all planets or destroy all enemy units.
    I was thinking about adding a campaign mode where you have to collect cards but nothing was done yet. Also a multiplayer mode seems reasonable, possibly something like match making.
    Right now you can only play vs the simple AI I made. It assigns a score to every possible action and choses the best action. The effectiveness of the AI therefore crucially depends on how this score is calculated and the values were not chosen with care. I just tested it and it seems to work.

    features:
    - 35 cards right now
    - attack animations and a lot of explosions
    - animated cards (I must have been bored ;) )

    todo:
    - I think the gameplay has to be changed.
    - some cards have no graphics (I also have some unused assets)
    - some sounds are missing
    - no background music
    - multiplayer and campaign mode (?)
    - AI tweak and difficulty levels
    - more cards ofc

    Repository:
    https://github.com/V-ktor/ccg1

    Screenshots:


  • Curved World Shader (code included)

    The Animal Crossing Shader has an article on how to do it online by someone named Alastair.
    https://alastaira.wordpress.com/2013/10/25/animal-crossing-curved-world-shader/

    I had never done anything with shaders before, but I wanted to give this a shot after seeing it in Four Warriors of Light, so here is his code in a manner that works for me in Godot:

    If anyone was a noob like me, notice that in order for whatever code to take effect on the desired built-in, you need to set that built in to your manipulated variable, as in the last line VERTEX = v;

    Also, it took forever for me to find this link, so here it is:
    http://docs.godotengine.org/en/stable/learning/features/shading/shading_language.html?highlight=shader

    float curve = -.001;
    vec3 v = VERTEX;
    mat4 mv = MODELVIEW_MATRIX;
    mat4 wv = WORLD_MATRIX;
    mat4 cv = INV_CAMERA_MATRIX;
    
    //v*= vec3(1,1,1);
    
    vec4 vv = mv * vec4(v,0.0);
    
    vv -= cv.x;
    vv -= cv.y;
    vv -= cv.z;
    
    vv = vec4(0.0,pow(vv.z,2)*curve,0.0,0.0);
    vv*=wv;
    vec3 vvp = vv.xyz;
    
    v+=vvp;
    
    VERTEX = v;
    
  • [Answered] Tips to improve memory usage

    The over memory usage issue was caused by the presence of CollisionShape node in the instances.

    You could find good information on the corresponding topic on Reddit.
    https://www.reddit.com/r/godot/comments/66pvpx/2d_tips_to_improve_memory_usage/

    TL;DR: When creating a Tilemap, don't put your logic in each tile, and especially not the collision shape.

    If you are playing with hexagonal grid, you could solve your issue by reading this article of Amit Patel:
    http://www.redblobgames.com/grids/hexagons/

  • Curved World Shader (code included)

    The Animal Crossing Shader has an article on how to do it online by someone named Alastair.
    https://alastaira.wordpress.com/2013/10/25/animal-crossing-curved-world-shader/

    I had never done anything with shaders before, but I wanted to give this a shot after seeing it in Four Warriors of Light, so here is his code in a manner that works for me in Godot:

    If anyone was a noob like me, notice that in order for whatever code to take effect on the desired built-in, you need to set that built in to your manipulated variable, as in the last line VERTEX = v;

    Also, it took forever for me to find this link, so here it is:
    http://docs.godotengine.org/en/stable/learning/features/shading/shading_language.html?highlight=shader

    float curve = -.001;
    vec3 v = VERTEX;
    mat4 mv = MODELVIEW_MATRIX;
    mat4 wv = WORLD_MATRIX;
    mat4 cv = INV_CAMERA_MATRIX;
    
    //v*= vec3(1,1,1);
    
    vec4 vv = mv * vec4(v,0.0);
    
    vv -= cv.x;
    vv -= cv.y;
    vv -= cv.z;
    
    vv = vec4(0.0,pow(vv.z,2)*curve,0.0,0.0);
    vv*=wv;
    vec3 vvp = vv.xyz;
    
    v+=vvp;
    
    VERTEX = v;
    
  • Android Runner

    Hi everybody!
    I am working on a remake of the old c64 Blade Runner, and no, not the detective game, I am talking about the runner thing, or as I called it "A video game remake of a video game interpretation of the film score by Vangelis" :D

    Here I have a prototype of what I had in my mind for a long time, it's obviously far from complete (it's the run scene, but it's lacking of the passing people, the cars, the intro flying car animation, etc...) but actually you can chase and kill (and being killed by) the droid, alias you can win or lose.

    I worked on it in my free time for a total of 10 hours more or less, the palette I have been using is the c64 one and the graphics could be (very) low quality mainly because I am not an artist, I am trying to improve on it.

    Well, please tell me what you think, any critics are welcome, the game may be hard so be careful :D I hope you like it as I do while making it.

    WARNING: The game contains flashy graphics!

    INSTRUCTIONS:
    Use the cursor keys for moving, you can go up and down only when running, you can shoot with the Z key but only near the droid (when the HPs show up).

    Download links in the last post!

  • My first tries with Godot and Blender

    You're welcome :smile:

    And if some are interrested, here are various setups for Blender Cycles materials (procedural only!), maybe some of theses could be adapted to Godot ;)
    https://blenderartists.org/forum/showthread.php?278285-Yet-Another-Thread-about-Cycles-Materials

    I tried some ... impressive !

  • 2d side-view vehicle in Godot

    Hi friends!

    Looking for a 2d side-view vehicle example (preferably) in Godot or something to kickoff an idea.

    Currently I'm struggling with a prototype...
    I have a KinematicBody2d as the root of the vehicle and two (front and rear) wheels which are Rigidbody2d..