FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC

Développement d'applications avec le langage Panoramic
 
AccueilAccueil  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  MembresMembres  Connexion  
Derniers sujets
» PANORAMIC V 1
Background / foreground pour les SPRITES Emptypar Marc Aujourd'hui à 19:51

» Gestion d'un système client-serveur.
Background / foreground pour les SPRITES Emptypar Klaus Aujourd'hui à 16:52

» Editeur EliP 6 : Le Tiny éditeur avec 25 onglets de travail
Background / foreground pour les SPRITES Emptypar Froggy One Aujourd'hui à 11:16

» @Jack
Background / foreground pour les SPRITES Emptypar Jack Mar 30 Avr 2024 - 20:40

» trop de fichiers en cours
Background / foreground pour les SPRITES Emptypar papydall Lun 29 Avr 2024 - 23:39

» Une calculatrice en une ligne de programme
Background / foreground pour les SPRITES Emptypar jean_debord Dim 28 Avr 2024 - 8:47

» Form(résolu)
Background / foreground pour les SPRITES Emptypar leclode Sam 27 Avr 2024 - 17:59

» Bataille navale SM
Background / foreground pour les SPRITES Emptypar jjn4 Ven 26 Avr 2024 - 17:39

» Les maths du crocodile
Background / foreground pour les SPRITES Emptypar jean_debord Jeu 25 Avr 2024 - 10:37

» Naissance de Crocodile Basic
Background / foreground pour les SPRITES Emptypar jean_debord Jeu 25 Avr 2024 - 8:45

» Dessine-moi une galaxie
Background / foreground pour les SPRITES Emptypar jjn4 Lun 22 Avr 2024 - 13:47

» Erreur END_SUB
Background / foreground pour les SPRITES Emptypar jjn4 Lun 22 Avr 2024 - 13:43

» Bug sur DIM_LOCAL ?
Background / foreground pour les SPRITES Emptypar papydall Dim 21 Avr 2024 - 23:30

» 2D_fill_color(résolu)
Background / foreground pour les SPRITES Emptypar leclode Sam 20 Avr 2024 - 8:32

» Consommation gaz électricité
Background / foreground pour les SPRITES Emptypar leclode Mer 17 Avr 2024 - 11:07

Navigation
 Portail
 Index
 Membres
 Profil
 FAQ
 Rechercher
Rechercher
 
 

Résultats par :
 
Rechercher Recherche avancée
Mai 2024
LunMarMerJeuVenSamDim
  12345
6789101112
13141516171819
20212223242526
2728293031  
CalendrierCalendrier
Le Deal du moment : -20%
-20% Récupérateur à eau mural 300 ...
Voir le deal
79 €

 

 Background / foreground pour les SPRITES

Aller en bas 
+4
Jean Claude
JL35
Jack
Marc
8 participants
AuteurMessage
Marc

Marc


Nombre de messages : 2389
Age : 63
Localisation : TOURS (37)
Date d'inscription : 17/03/2014

Background / foreground pour les SPRITES Empty
MessageSujet: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptyMer 28 Déc 2016 - 0:54

Bonjour à tous !

Je souhaiterais une commande de gestion des SPRITES pour pouvoir mettre en avant-plan ou en arrière-plan un SPRITE défini. (background / foreground)

Sauf erreur de ma part, actuellement le niveau de plan de chaque SPRITE est conditionné lors de sa création sans pouvoir le changer. Ainsi, le premier SPRITE créé passera toujours en arrière-plan du deuxième SPRITE créé.

Cette commande aurait été utile dans le jeu des 6 palets que j’ai posté dans la rubrique "Les jeux faits avec Panoramic".

Avec mes remerciements !

Bonne programmation à tous !
Revenir en haut Aller en bas
Jack
Admin
Jack


Nombre de messages : 2386
Date d'inscription : 28/05/2007

Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptyVen 6 Jan 2017 - 16:18

Je vais tout d'abord sortir la version régulière avec la documentation mise à jour.
Ensuite, j'appliquerai à Panoramic les commandes qui existaient dans Pangine2D. Il y a entre autres la commande de la profondeur des SPRITEs:

https://panoramic.1fr1.net/t3025-sprites-animes-dans-un-scene2d

Citation :
Il y a maintenant une gestion de la profondeur, c'est à dire qu'on peut faire passer des SPRITEs au dessus ou en dessous d'autres. La profondeur va de 0 (le plus près) à 255 (le plus loin), un SPRITE ayant une profondeur de 128 à sa création.

SPRITE_DEPTH N,D : affecte la profondeur D au SPRITE de numéro N.

Tu peux commencer à coder avec Pangine2D : ton source fonctionnera bientôt sous Panoramic.
Il faudra bien sûr créer dans Panoramic un objet SCENE2D qui n'existe pas dans Pangine2D.

Je vais en effet changer de philosophie : au lieu de développer des versions spécialisées (Domoticom, Pangine2D, Pangine3D, etc) qui sont des extensions de Panoramic dans certains domaines, et qui contiennent des fonctionnalités n'existant pas dans Panoramic, je vais intégrer toutes les fonctionnalités dans Panoramic et les versions spécialisées seront des sous-ensembles de Panoramic.

_________________
Background / foreground pour les SPRITES Webdav username : panoramic@jack-panoramic password : panoramic123
Revenir en haut Aller en bas
https://panoramic.1fr1.net
JL35




Nombre de messages : 7095
Localisation : 77
Date d'inscription : 29/11/2007

Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptyVen 6 Jan 2017 - 16:39

Ça c'est plutôt à mon avis une très bonne nouvelle, d'avoir toutes les possibilités réunies dans le même éditeur !
Revenir en haut Aller en bas
Jean Claude

Jean Claude


Nombre de messages : 5948
Age : 69
Localisation : 83 Var
Date d'inscription : 07/05/2009

Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptyVen 6 Jan 2017 - 18:15

Là, j'approuve à 100%.
J'ai un ou deux codes fait avec Pangine2d qui ne sont pas au top, mais qui fonctionnent.

Merci Jack.
Revenir en haut Aller en bas
Yannick




Nombre de messages : 8610
Age : 53
Localisation : Bretagne
Date d'inscription : 15/02/2010

Background / foreground pour les SPRITES Empty
MessageSujet: re   Background / foreground pour les SPRITES EmptyVen 6 Jan 2017 - 20:01

@Jack

Lu et Approuvé ! Laughing

C' est une très bonne idée que d' avoir un langage et un seul.

Comme je l' avais déjà exprimé dans un post,
rien n' empêche d' avoir un objet identique à un autre
mais portant un autre nom pour le réserver à une utilisation spécifique.
Revenir en haut Aller en bas
Minibug

Minibug


Nombre de messages : 4566
Age : 57
Localisation : Vienne (86)
Date d'inscription : 09/02/2012

Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptyVen 6 Jan 2017 - 20:04

Tout à fait d'accord avec cette politique !

Quitte à activer des bibliothèques au démarrage de Panoramic, je pense que c'est plus simple à gérer et permet aussi de rassembler tous les utilisateurs autour d'une même version.

Bonne idée Jack !
Revenir en haut Aller en bas
http://gpp.panoramic.free.fr
Jicehel

Jicehel


Nombre de messages : 5947
Age : 51
Localisation : 77500
Date d'inscription : 18/04/2011

Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptyVen 6 Jan 2017 - 20:08

Super, ça c'est une bonne nouvelle. Perso j'approuve totalement et je suis content de cette décision Smile
Revenir en haut Aller en bas
papydall

papydall


Nombre de messages : 7000
Age : 73
Localisation : Moknine (Tunisie) Entre la chaise et le clavier
Date d'inscription : 03/03/2012

Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptyVen 6 Jan 2017 - 22:49

Je ne peux que me rallier à ceux qui approuvent cette bonne décision.
Merci Jack.
Revenir en haut Aller en bas
http://papydall-panoramic.forumarabia.com/
Marc

Marc


Nombre de messages : 2389
Age : 63
Localisation : TOURS (37)
Date d'inscription : 17/03/2014

Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES EmptySam 7 Jan 2017 - 21:04

Bonjour à tous !

Je découvre PANGINE2D dont je ne connaissais pas l’existence.
Ses mots clés correspondent tout à fait à mes souhaits !
Vivement l’implantation au cœur de Panoramic !

Merci Jack !
Revenir en haut Aller en bas
Contenu sponsorisé





Background / foreground pour les SPRITES Empty
MessageSujet: Re: Background / foreground pour les SPRITES   Background / foreground pour les SPRITES Empty

Revenir en haut Aller en bas
 
Background / foreground pour les SPRITES
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» COLOR_PIXEL pour les SPRITEs
» un peu sur les sprites
» Construire un masque pour les sprites
» Faire du background d'un scene2d un picture ou presque
» Uniquement "foreground"

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC :: PANORAMIC :: Vos souhaits d'amélioration de Panoramic-
Sauter vers: