AccueilAccueil  FAQFAQ  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  Connexion  

 

 Change the skin of the cursor with .cur/.ani

Aller en bas 
3 participants
AuteurMessage
Caly
Utilisateur confirmé: Rang ****
Caly


Messages : 1285
Localisation : Haute Normandie
Projet Actuel : Capturer, apprivoiser et dresser des Pokémons sauvages pour faire des spectacles de rue et en faire mon métier.

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 11:37

Bonjour,

Je voudrais pouvoir changer l'apparence du curseur mais pas avec des sprites mais avec des .cur/.ani le tout sans DLL.

Le problème de GM c'est qu'il n'est pas open sources du coup impossible de savoir à quoi correspond "cr_size_nwse" etc...

J'ai donc essayé "window_set_cursor("C:\WINDOWS\Cursors\3dgarro.cur");" mais sans grand succès. Quelqu'un connais t'il une solution à ce problème sans passer par une DLL?
Revenir en haut Aller en bas
master47
Utilisateur confirmé: Rang *****
master47


Messages : 2368
Projet Actuel :
-------------------
> PacWars
> The Perfect Pattern Studio

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 11:47

normalement les cr_xxx sont des constantes numériques qui représentent l'id d'un curseur.
Pourquoi n'utilises-tu pas simplement un sprite ? Les fichiers ani et cur ne sont pas gérés nativement il me semble..

_________________
Suivez la timeline ! The PacWars Timeline
C# .NET, Web & Sound Design.
---
Oldies: http://livegallery.lescigales.org/
Lawl :
Spoiler:
Revenir en haut Aller en bas
http://theperfectpattern.tumblr.com
Caly
Utilisateur confirmé: Rang ****
Caly


Messages : 1285
Localisation : Haute Normandie
Projet Actuel : Capturer, apprivoiser et dresser des Pokémons sauvages pour faire des spectacles de rue et en faire mon métier.

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 11:53

Citation :
sont des constantes numériques qui représentent l'id d'un curseur
Oui mais pour avoir une ID faut bien qu'ils aillent chercher l'adresse des .cur .ani quelque par non?

Citation :
Pourquoi n'utilises-tu pas simplement un sprite ?
Car ça ne m'arrange pas.

Citation :
Les fichiers ani et cur ne sont pas gérés nativement il me semble..
Si c'est le cas je ne vais pas avoir le choix de me diriger vers des sprites :s
Revenir en haut Aller en bas
master47
Utilisateur confirmé: Rang *****
master47


Messages : 2368
Projet Actuel :
-------------------
> PacWars
> The Perfect Pattern Studio

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 11:56

Si tu es prêt à utiliser une dll, j'en ai vu une sur GmToolbox qui permet de le faire. Sinon utilise un sprite, ça me semble le plus simple

_________________
Suivez la timeline ! The PacWars Timeline
C# .NET, Web & Sound Design.
---
Oldies: http://livegallery.lescigales.org/
Lawl :
Spoiler:
Revenir en haut Aller en bas
http://theperfectpattern.tumblr.com
Caly
Utilisateur confirmé: Rang ****
Caly


Messages : 1285
Localisation : Haute Normandie
Projet Actuel : Capturer, apprivoiser et dresser des Pokémons sauvages pour faire des spectacles de rue et en faire mon métier.

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 12:11

Non je ne veux pas de DLL, je vais passer par des sprites, merci pour ta réponse.

C'est dommage qu'ils n'est pas intégré ça nativement...
Revenir en haut Aller en bas
onilink_
Modérateur
onilink_


Messages : 9178
Localisation : Montpellier
Projet Actuel : Planet Centauri
OniDev

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 12:14

Caly a écrit:
C'est dommage qu'ils n'est pas intégré ça nativement...
Si tu veux rire un peu regarde les fonctions disponibles dans la 6.2, et regarde celles dispo dans la 8.

_________________
Change the skin of the cursor with .cur/.ani Runningpotato1Change the skin of the cursor with .cur/.ani TvF6GED Change the skin of the cursor with .cur/.ani MdetltS
Revenir en haut Aller en bas
Caly
Utilisateur confirmé: Rang ****
Caly


Messages : 1285
Localisation : Haute Normandie
Projet Actuel : Capturer, apprivoiser et dresser des Pokémons sauvages pour faire des spectacles de rue et en faire mon métier.

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 12:26

Je regarde ça où?

Revenir en haut Aller en bas
onilink_
Modérateur
onilink_


Messages : 9178
Localisation : Montpellier
Projet Actuel : Planet Centauri
OniDev

Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani EmptyVen 11 Nov 2011 - 12:55

Script -> Show built in functions

_________________
Change the skin of the cursor with .cur/.ani Runningpotato1Change the skin of the cursor with .cur/.ani TvF6GED Change the skin of the cursor with .cur/.ani MdetltS
Revenir en haut Aller en bas
Contenu sponsorisé





Change the skin of the cursor with .cur/.ani Empty
MessageSujet: Re: Change the skin of the cursor with .cur/.ani   Change the skin of the cursor with .cur/.ani Empty

Revenir en haut Aller en bas
 
Change the skin of the cursor with .cur/.ani
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» Crazy Cursor
» GM Tricking : Show Cursor
» choisir son skin
» Choisissez mon skin iPhone
» Skin spécial CBNA

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Forum Le CBNA :: Développement :: Entraide confirmés-
Sauter vers: