minxomat

Game Intro - Effects, Animation, Title Menu

7 posts in this topic

#1 ·  Posted (edited)

I made this a while ago for a game I was going to make. I don't see the game happening any time soon, so i might as well just share what I have done. The way animations are displayed in this is quite different, as each sprite is contained within a main TTF font. It also shows how to time Control-Based animations and how to rotate them.

Advantages of font-based animations:

  • Only one file for all animations
  • Sprites can be scaled to any size as they are vector data (like SVGs)
  • Sprites can be displayed in any color (or angle)
  • The antialiasing can be varied very easily
  • ...
You have to install all fonts to view this intro. Here, have a screenshot of the end:

shot9472.png

Download: Game Intro.zip

Edited by minx
3 people like this

I will answer every single PM, and you are free to ask anything anytime.

Share this post


Link to post
Share on other sites



I don't want to install any font.
 
But I was curious about what you did so I added following lines to avoid font installing:
 

#include <WinAPIGdi.au3>

_WinAPI_AddFontResourceEx('..\Black-and-Knight.ttf', $FR_PRIVATE)
_WinAPI_AddFontResourceEx('..\ChaosandPain-CnP.ttf', $FR_PRIVATE)
_WinAPI_AddFontResourceEx('..\TheDeadAreComing.ttf', $FR_PRIVATE)
_WinAPI_AddFontResourceEx('..\vtks encount(e)r.ttf', $FR_PRIVATE)

Nice looking intro.
 
Br,
UEZ

2 people like this

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Where do I find #include <WinAPIGdi.au3> ?

its not in the standard autoit package ?

(sorry for the noob question)

Share this post


Link to post
Share on other sites

FrodoKemp,

That include is definitely in the current 3.3.12.0 release - what version are you running? :huh:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Where do I find #include <WinAPIGdi.au3> ?

its not in the standard autoit package ?

(sorry for the noob question)

Yes it is. What version are you running?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Clever, I like it. What programs did you use to create the sprites and add them to the fonts?

Wow, this was a while ago. I just remember that it was a browser-based app, used way too much RAM and its name had nothing to do with its function. I'll try to find it.

Edit: Found it: https://icomoon.io/app/#/select

Edited by minx

I will answer every single PM, and you are free to ask anything anytime.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now